
const KEY = 'my-token-element-pc'
// 设置
export const setToken = (token) => localStorage.setItem(KEY, token)
// 获取
export const getToken = () => localStorage.getItem(KEY)

// 删除
export const delToken = () => localStorage.removeItem(KEY)
